﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibNiconico.NiconicoApi.Internal;

namespace LibNiconico.NiconicoApi.Lives.PublishStatus
{
    /// <summary>
    /// ニコニコ生放送パブリッシュステータス取得問い合わせ情報
    /// </summary>
    internal sealed class NicoLiveGetPublishStatusQueryInfo:NicoUrlAble
    {

        internal NicoLiveGetPublishStatusQueryInfo(string liveId)
        {
            this.LiveId = liveId;
        }

        /// <summary>
        /// 対象生放送番号
        /// </summary>
        internal string LiveId { get; set; }

        /// <summary>
        /// URLパスとして取得
        /// </summary>
        /// <returns></returns>
        internal override string AsPath()
        {
            return "api/getpublishstatus";
        }

        /// <summary>
        /// URL問い合わせ文字列として取得
        /// </summary>
        /// <returns></returns>
        internal override string AsQuery()
        {
            return "v=" + LiveId;
        }


    }
}
